package org.jeecg.modules.monitoring.j_monitoring.service;

import org.jeecg.modules.monitoring.j_monitoring.entity.GatewayWarningCount;
import org.jeecg.modules.monitoring.j_monitoring.entity.RingMonitor;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.monitoring.j_monitoring.entity.donghuan.ConditioningData;
import org.jeecg.modules.monitoring.j_monitoring.entity.donghuan.UpsData;

import java.util.List;

/**
 * @Description: 动环监控服务
 * @Author: xiaoyq
 * @Date:   2023-07-12
 * @Version: V1.0
 */
public interface IRingMonitorService extends IService<RingMonitor> {
    /**
     * 根据名称获得空调数据
     * @param name
     * @return
     */
    ConditioningData getConditioningData(String name);

    /**
     * 根据名称获得UPS数据
     * @param name
     * @return
     */
    UpsData getUpsData(String name);

    /**
     * 根据设备名称获得告警信息
     * @param name
     * @return
     */
    GatewayWarningCount getWarningCount(String name);

    /**
     * 根据ids获得动环监控数据
     *
     * @param stringList
     * @return
     */
    List<RingMonitor> getRingMonitorByIds(List<String> stringList);
}
